package com.example.designPrinciples;

import java.util.ArrayList;
import java.util.List;

/**
 * @Title: Demo
 * @Description: TODO
 * @Date 2021/9/29 16:35
 */
public class Superclass {

    public void add(int num1, int num2) {
        int value = num1 + num2;
        System.out.println("父类计算出的结果为：" + value);
    }

    public void method(List arrayList) {
        System.out.println("父类方法执行了！");
    }
}
